STEP 1: Let's get started! We'll use list of numbers that we can feed into our function to get the corresponding output.

In this lesson, we've set the scale on the stage so it only shows a range of numbers from -10 to +10.

  • Click on the LOGIC tab and click on . Drag out List of Integers.
  • Change the list's variable name from my_list to inputs. This list holds all the possible x-coordinate values.
  • Run your code, then click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)